package com.famdoc.Pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 随访列表单个数据类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class VisitVO {
    private Integer id; //随访记录id
    private String name; //患者姓名
    private String sex; //患者性别
    private Integer age; //患者年龄
    private String disease; //患者疾病
    private Integer doctorId;  //随访医生id
    private Integer patientId; //随访患者id
    private Integer checkId; //体检记录id
    private String symptoms; //随访患者症状
    private String drugUsage;  //用药情况
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime visitTime; //随访时间
    private String visitWay; //随访方式
    private String livingHabit; //生活习惯
    private Integer visitSign; //是否完成随访，0代表草稿，1代表完成随访，2代表随访逾期
    private String remark; //备注
}
